echo off

set msBuildDir=%WINDIR%\Microsoft.NET\Framework\v3.5

set SHFBROOTBackup=%SHFBROOT%
cd >temp.temp.temp
set /p SHFBROOT= <temp.temp.temp
del /Q temp.temp.temp
set SHFBROOT=%SHFBROOT%\Tools\SHFBuilder

@REM set verbosity=detailed
set verbosity=normal

call %msBuildDir%\msbuild runner.csproj /tv:3.5 /m /verbosity:%verbosity% %*


set verbosity=
set SHFBROOT=%SHFBROOTBackup%
set SHFBROOTBackup=

echo on